package cn.com.cifi.mars.web.action.report;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import cn.com.cifi.mars.common.bean.R;
import cn.com.cifi.mars.common.constants.VersionConstant;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;

@Api(tags = "报表API")
@RequestMapping("/${spring.data.rest.base-path}/{apiVersion}/report")
public interface IReportController {

	@ApiOperation(value = "签约数据初始化（天）", notes = "签约数据初始化（天）")
    @GetMapping(value = "initDmDmContractDay")
    public R initDmDmContractDay(
            @ApiParam(value = "接口版本", required = true, defaultValue = VersionConstant.V1) @PathVariable(value = "apiVersion") String apiVersion);

	@ApiOperation(value = "签约数据初始化（月度）", notes = "签约数据初始化（月度）")
    @GetMapping(value = "initDmDmContractMonth")
    public R initDmDmContractMonth(
            @ApiParam(value = "接口版本", required = true, defaultValue = VersionConstant.V1) @PathVariable(value = "apiVersion") String apiVersion);

	@ApiOperation(value = "月度供货数据初始化", notes = "月度供货数据初始化")
    @GetMapping(value = "initDmDmPlanSupplyMonth")
    public R initDmDmPlanSupplyMonth(
            @ApiParam(value = "接口版本", required = true, defaultValue = VersionConstant.V1) @PathVariable(value = "apiVersion") String apiVersion);

}
